package org.szy.core.common.param;

import org.noear.solon.validation.annotation.NotBlank;

/**
 * 通用移动参数
 *
 * @author 孙志阳
 * @date 2023-02-15
 * @since 1.0.0
 **/
public class CommonMoveParam {

    /**
     * id
     */
    @NotBlank(message = "id不能为空")
    private String id;

    /**
     * type 1-上移，2-下移
     */
    @NotBlank(message = "移动类型不能为空")
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
